QT      += core gui network sql qml quick concurrent  widgets  xml
greaterThan(QT_MAJOR_VERSION,5):QT += core5compat
CONFIG  += c++2a plugin

DESTDIR = ../../../dist/plugins
TARGET  = sm_plugin_rss

TEMPLATE = lib
DEFINES += _HAS_DEPRECATED_RESULT_OF
INCLUDEPATH += ../../interfaces               \
                ../../util/sm_util_core     \
               ../../util/sm_util_tags     \
               ../../util/sm_util_gui     \
               ../../util/sm_util_models     \
               ../../util/sm_util_sll     \

LIBS += -L../../../dist          \
        -lsm_util_core          \
        -lsm_util_tags        \
        -lsm_util_gui         \
        -lsm_util_models      \
        -lsm_util_sll          \

RESOURCES += \
    rssresources.qrc

FORMS += \
    addfeeddialog.ui \
    export.ui \
    export2fb2dialog.ui \
    feedsettings.ui \
    importopml.ui \
    itemswidget.ui \
    mainwidget.ui \
    startupfirstpage.ui \
    startupsecondpage.ui \
    startupthirdpage.ui

DISTFILES += \
    CMakeLists.txt \
    leechcraft_rss_en.ts \
    resources/data/default_feeds.xml \
    rsssettings.xml \
    share/global_icons/plugins/default/aggregator.svg

HEADERS += \
    addfeeddialog.h \
    channel.h \
    channelsfiltermodel.h \
    channelsmodel.h \
    common.h \
    components/actions/appwideactions.h \
    components/actions/channelactions.h \
    components/actions/itemactions.h \
    components/gui/itemcategoryselector.h \
    components/gui/itemnavigator.h \
    components/gui/itemselectiontracker.h \
    components/gui/util.h \
    components/itemrender/item.h \
    components/itemrender/mrss.h \
    components/itemrender/utils.h \
    components/itemrender/xmlnode.h \
    components/parsers/atom.h \
    components/parsers/mediarss.h \
    components/parsers/parse.h \
    components/parsers/rss.h \
    components/parsers/tests/utils_test.h \
    components/parsers/utils.h \
    dbupdatethread.h \
    dbutils.h \
    dumbstorage.h \
    export.h \
    export2fb2dialog.h \
    exportutils.h \
    feed.h \
    feedserrormanager.h \
    feedsettings.h \
    importopml.h \
    item.h \
    itemsfiltermodel.h \
    itemslistmodel.h \
    itemswidget.h \
    itemutils.h \
    jobholderrepresentation.h \
    opmladder.h \
    opmlitem.h \
    opmlparser.h \
    opmlwriter.h \
    pluginmanager.h \
    poolsmanager.h \
    proxyobject.h \
    representationmanager.h \
    resourcesfetcher.h \
    rss.h \
    rsstab.h \
    sqlstoragebackend.h \
    startupfirstpage.h \
    startupsecondpage.h \
    startupthirdpage.h \
    storagebackend.h \
    storagebackendmanager.h \
    tooltipbuilder.h \
    updatesmanager.h \
    xmlsettingsmanager.h

SOURCES += \
    addfeeddialog.cpp \
    channel.cpp \
    channelsfiltermodel.cpp \
    channelsmodel.cpp \
    common.cpp \
    components/actions/appwideactions.cpp \
    components/actions/channelactions.cpp \
    components/actions/itemactions.cpp \
    components/gui/itemcategoryselector.cpp \
    components/gui/itemnavigator.cpp \
    components/gui/itemselectiontracker.cpp \
    components/gui/util.cpp \
    components/itemrender/item.cpp \
    components/itemrender/mrss.cpp \
    components/itemrender/utils.cpp \
    components/itemrender/xmlnode.cpp \
    components/parsers/atom.cpp \
    components/parsers/mediarss.cpp \
    components/parsers/parse.cpp \
    components/parsers/rss.cpp \
    components/parsers/tests/utils_test.cpp \
    components/parsers/utils.cpp \
    dbupdatethread.cpp \
    dbutils.cpp \
    dumbstorage.cpp \
    export.cpp \
    export2fb2dialog.cpp \
    exportutils.cpp \
    feed.cpp \
    feedserrormanager.cpp \
    feedsettings.cpp \
    importopml.cpp \
    item.cpp \
    itemsfiltermodel.cpp \
    itemslistmodel.cpp \
    itemswidget.cpp \
    itemutils.cpp \
    jobholderrepresentation.cpp \
    opmladder.cpp \
    opmlparser.cpp \
    opmlwriter.cpp \
    pluginmanager.cpp \
    poolsmanager.cpp \
    proxyobject.cpp \
    representationmanager.cpp \
    resourcesfetcher.cpp \
    rss.cpp \
    rsstab.cpp \
    sqlstoragebackend.cpp \
    startupfirstpage.cpp \
    startupsecondpage.cpp \
    startupthirdpage.cpp \
    storagebackend.cpp \
    storagebackendmanager.cpp \
    tooltipbuilder.cpp \
    updatesmanager.cpp \
    xmlsettingsmanager.cpp



